


int set_moving_adverage(int in_average, int out_average);
int start_punishment(int punishment_id, char* ip_address, int portnum, int level);
int update_punishment(int punishment_id, char* ip_address, int portnum, int level);
int relieve_punishment(int punishment_id, char* ip_address, int portnum, int level);
int stop_punishment(int punishment_id, char* ip_address, int portnum, int level)